//
//  ScanBLEHelper.h
//  Pods
//
//  Created by Henry on 2022/12/29.
//

#ifndef ScanBLEHelper_h
#define ScanBLEHelper_h
#import "Peripheral.h"
@protocol BLEScanDelegate;
@interface ScanBLEHelper : NSObject

-(instancetype)initWithDelegate:(id<BLEScanDelegate>) delegate;

- (void)startScan;

-(void)stop;

@end

@protocol BLEScanDelegate <NSObject>



-(void)blueToothFindDevice:(NSMutableArray<Peripheral *> *)device;

-(void)dueWithErr:(NSError *)error;

-(void)blueToothAvailable;

@end

#endif /* ScanBLEHelper_h */
